#!/usr/bin/env bash

AUTH="user:passwd"
REMOTE="host/dir"
for file in "$@"
do
    curl -u $AUTH -O "${REMOTE}/${file}"
done
